package com.wanma.recuit.util;

public class EncryptUtils {
    public static String encrypt(String str){
        str = str.substring(1,11);
        String newstr= "";
        for (int i = 0; i < 9; i+=2) {
            newstr = str.substring(i,i+2)+newstr;
        }

        return newstr;
    }
    public static String decrypt(String newstr){
        String str = "";
        for (int i = 0; i < 9; i+=2) {
            str = newstr.substring(i,i+2)+str;
        }
        str= "1"+str;
        return str;
    }

    public static void main(String[] args) {


    }
}
